package com.example.featuresdk.theme

import androidx.compose.material.Colors
import androidx.compose.material.darkColors
import androidx.compose.material.lightColors
import androidx.compose.ui.graphics.Color

val DarkColorPalette = darkColors(
    primary = Color.Black,
    onPrimary = Color.White,
    secondary = Color(0xFF1F1F1C),
    onSecondary = Color.White
)

val LightColorPalette = lightColors(
    primary = Color(0xE2ECECF0),
    onPrimary = Color.Black,
    secondary = Color.White,
    onSecondary = Color.Black
)

// Use with DemoTheme.colors.subtitle
val Colors.subtitle: Color
    get() = if (isLight) Color.Gray else Color.LightGray

//DemoTheme.colors.myMessageBackground
val Colors.myMessageBackground: Color
    get() = if (isLight) Color(0xFFA7F77F) else Color(0xFF90BE78)

//DemoTheme.colors.otherMessageBackground
val Colors.otherMessageBackground: Color
    get() = if (isLight) Color.White else Color(0xE27D7D80)

val Colors.button: Color
    get() = if (isLight) Color(0xFFA7F77F) else Color(0xFF8DB876)